#include "meshManager.h"

using namespace std;
using namespace MeshUtils;

void MeshManager::addMesh(Mesh& msh, string name)
{
	meshes[name] = &msh;

	unsigned int i = 0 ;
	
	vector<Color>* colors = new vector<Color>;
	for(std::vector<Vector3>::iterator itN = msh.nodes.begin() ; itN != msh.nodes.end() ; itN++)
		colors->push_back(Color(255,255,0));
	pointsColor[name] = colors;
}
